Skip to content

feat: generate netapp charm#764

Open
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-netapp-charm
Open

feat: generate netapp charm#764
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-netapp-charm

Conversation

@ahmad-can
Copy link
Copy Markdown

@ahmad-can ahmad-can commented Apr 14, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new NetApp ONTAP Cinder storage backend to Sunbeam and wires it into the unit test suite so the backend is discoverable and validated alongside existing backends.

Changes:

  • Add NetAppBackend and NetAppConfig (including secret-marked config fields) under sunbeam.storage.backends.netapp.
  • Add NetApp-specific unit tests and include the backend in shared backend tests/fixtures.
  • Extend common backend uniqueness/expectation tests to include netapp.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sunbeam-python/tests/unit/sunbeam/storage/backends/test_netapp.py New unit tests covering NetApp backend basics and config validation/secret markers.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_common.py Adds NetApp to shared “unique type/charm name” and expected-values tests.
sunbeam-python/tests/unit/sunbeam/storage/backends/conftest.py Adds a netapp_backend fixture and includes NetApp in the parametrized any_backend fixture.
sunbeam-python/sunbeam/storage/backends/netapp/backend.py Implements NetAppBackend and a large NetAppConfig model for charm configuration.
sunbeam-python/sunbeam/storage/backends/netapp/__init__.py New package initializer for the NetApp backend module.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sunbeam-python/sunbeam/storage/backends/netapp/backend.py Outdated
@ahmad-can ahmad-can force-pushed the feature/generate-netapp-charm branch from 148c7da to 20050f0 Compare April 21, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants